<template>
    <div>
    <div>评论回复</div>
    <div style="border:5px solid gainsboro;width: 300px;height: 100px"  >
    <div v-for="(item , index ) in list " :key="index"  >
        <div >{{ item[0]}}说</div>
        <div>{{item[1]}}</div>
    </div>
    </div>
    </div>
</template>

<script setup>
 import  { defineProps ,ref}  from 'vue'
  let props=defineProps(['name','comment'])
  let list=ref([])
list.value.push([props.name,props.comment])
console.log(99999);
console.log(list.value[0][1]);
console.log(props.name);
console.log(222);
  
</script>

<style  scoped>

</style>